package org.lanqiao.ssm.common.model;

import java.util.List;

/**
 * 
 * @Title: EasyuiModel.java
 * @Package com.liuwei.common.baseModel
 * @Description: 用来适配easyui datagrid
 * @author 刘伟 15818570028@163.com
 * @date 2016年11月29日 下午5:54:22
 * @version V1.0
 * @param <E>
 */
public class EasyuiModel<E> extends Model {

	private static final long serialVersionUID = 1L;
	private int nowPage;
	private int pageShow = 20;
	private List<E> rows;
	private int totalPage;
	private int start;
	private Long total;

	public int getNowPage() {
		return nowPage;
	}

	public int getPageShow() {
		return pageShow;
	}

	public List<E> getRows() {
		return rows;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public int getStart() {
		return start;
	}

	public Long getTotal() {
		return total;
	}

	public void setNowPage(int nowPage) {
		this.nowPage = nowPage;
	}

	public void setPageShow(int pageShow) {
		this.pageShow = pageShow;
	}

	public void setRows(List<E> rows) {
		this.rows = rows;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public void setStart(int start) {
		this.start = start;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public EasyuiModel(int nowPage, int pageShow, List<E> rows, int totalPage, int start, Long total) {
		super();
		this.nowPage = nowPage;
		this.pageShow = pageShow;
		this.rows = rows;
		this.totalPage = totalPage;
		this.start = start;
		this.total = total;
	}

}
